package com.zhaotianhao.check.userserver.mapper;

import com.zhaotianhao.check.userserver.entity.City;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Z-7
 * @since 2022-04-01
 */
public interface CityMapper extends BaseMapper<City> {
    /**
     * 3级联动查询
     * @param pid
     * @return
     */
    List<City> getCities(int pid);
}
